<script type="text/javascript">
function saveAddData_est(){
	var num = $("#num").val();
	var parm = {"number" : num};
	var url = create_url("addData-save");
	sys_submiting();
	$.ajax({type:'POST', url:url, data:parm,
		success: function(result) {
			sys_submiting_close();
			if ('success' == result) {
				sys_msg("操作成功！请查询");
			} else {
				sys_msg("操作失败", "操作失败，请刷新页面再次尝试，如果问题依然存在，请联系管理员!");
			}
		}
	});
}
</script>
<#import "/freemarker/modeltype.ftl" as mt>
<div>
	<div class="bg-light lter b-b wrapper-md">
	  <h3>添加题目</h3>
	</div>
	<div class="clearfix m-b">
		<table class="table_search">
			<tr>
				<th style="width:100px;">输入添加数量:</th>
				<td>
					<input type="text" name="number" id="num"  style="width: 150px;"/>
				</td>
				<td >
					<button class="btn btn-xs btn-success"  onclick="javascript: saveAddData_est(); return false;"><i class="icon-plus"></i> 添 加</button>
				</td>
			</tr>
		</table>
	</div>
</div>
